package zzxkj.blog.dto;

import lombok.Data;
import zzxkj.blog.pojo.Tag;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author zzxkj
 */
@Data
public class AdminSearchParam {
    private String title;
    private Long typeId;
    private boolean recommend;
    private Integer page;
    /**
     *给个默认返回值 1
     */
    public int getPage() {
        return page == null ? 1 : page;
    }
}
